package com.ui.home.presenter;

import com.base.BaseRefreshContract;
import com.bean.BannerBean;
import com.bean.BaseBean;
import com.bean.HomeArticleList;

import java.util.List;

public interface HomeFragmentContract {
    interface View extends BaseRefreshContract.View{
        void onGetArticle(List<HomeArticleList.DatasBean> articleList);
        void onLoadMore(List<HomeArticleList.DatasBean> articleList);
        void onGetBannerList(BaseBean<List<BannerBean>> bannerBeanBaseBean);
    }

    interface Presenter extends BaseRefreshContract.Presenter<HomeFragmentContract.View>{
        void getArticle(int page);
        void getBannerList();
    }
}
